oxenstored: only record operations with side-effects in history
authorJonathan Davies <jonathan.davies@citrix.com>
Thu, 23 Mar 2017 14:20:33 +0000 (14:20 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 28 Mar 2017 12:07:04 +0000 (13:07 +0100)
commit00c7d98d2df18e0d138bc6ef59e9e07bfc756d34
tree90c09453fd8621211389c6be239e69269b4aebed
parent83ee94f39cf51bb9bcf1affabfbee8257c559655
oxenstored: only record operations with side-effects in history

There is no need to record "read" operations as they will never cause another
transaction to fail.

Signed-off-by: Jonathan Davies <jonathan.davies@citrix.com>
Reviewed-by: Thomas Sanders <thomas.sanders@citrix.com>
Forward port to xen-unstable:
 * Remove Xenbus.Xb.Op.Restrict

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/ocaml/xenstored/process.ml